package com.better.common.amqp.util;

import lombok.Data;


/**
 *Rabbit元信息对象，用于存储交换器、队列名、消息体
 * 后期设置是否需要加密，在此对象中添加即可
*@author:
*@date :2018/1/11
*/
@Data
public class RabbitMetaMessage{
	private static final long serialVersionUID = -1L;
	String exchange;
	String routingKey;
	boolean autoTrigger;
	boolean returnCallback;
	Object payload;
	
	public Object getPayload() {
		return payload;
	}
	public void setPayload(Object payload) {
		this.payload = payload;
	}
	public boolean isReturnCallback() {
		return returnCallback;
	}
	public void setReturnCallback(boolean returnCallback) {
		this.returnCallback = returnCallback;
	}
	public String getExchange() {
		return exchange;
	}
	public void setExchange(String exchange) {
		this.exchange = exchange;
	}
	public String getRoutingKey() {
		return routingKey;
	}
	public void setRoutingKey(String routingKey) {
		this.routingKey = routingKey;
	}
	public boolean isAutoTrigger() {
		return autoTrigger;
	}
	public void setAutoTrigger(boolean autoTrigger) {
		this.autoTrigger = autoTrigger;
	}




}
